package com.yonghui;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ImportResource;

/**
 * @description: TODO
 * @author: zhangtong
 * @create: 2021-03-19 19:42
 **/
//@SpringBootConfiguration
@ImportResource(locations="classpath:spring-dubbo.xml")
@SpringBootApplication
public class DubboProviderApp {

    public static void main(String[] args) {
        SpringApplication.run(DubboProviderApp.class, args);
//        new SpringApplicationBuilder(DubboProviderApp.class).run(args);
    }
}
